package com.yc.bdw.Activity;

import android.os.AsyncTask;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;

import com.yc.bdw.R;

import org.kymjs.kjframe.KJActivity;
import org.kymjs.kjframe.ui.BindView;

/**
 * Created by Special on 2015/11/18.
 */
public class LoginQuickActivity extends KJActivity {
    @BindView(id = R.id.et_phone_number)
    public EditText et_phone_number;
    @BindView(id = R.id.et_ver_code)
    public EditText et_ver_code;
    @BindView(id = R.id.iv_verification, click = true)
    public ImageView iv_verification;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public void setRootView() {
        setContentView(R.layout.activity_login_quick);
    }

    @Override
    public void widgetClick(View v) {
        super.widgetClick(v);
        switch (v.getId()) {
            case R.id.iv_verification:
                new LoginQuick().execute();
                break;
        }
    }

    class LoginQuick extends AsyncTask<String, Void, Void> {

        @Override
        protected Void doInBackground(String... params) {
            return null;
        }
    }
}
